<template>
  <flexbox>
    <flexbox-item :span="1"></flexbox-item>
    <flexbox-item class="option-item">
      <x-textarea :max="40" :placeholder="`选项${(index+1)}`" :show-counter="false" :rows="1" autosize></x-textarea>
    </flexbox-item>
  </flexbox>
</template>

<style lang="less">
</style>


<script>
import { Flexbox, FlexboxItem, XTextarea } from "vux";
export default {
  name: "OptionItem",
  components: {
    Flexbox,
    FlexboxItem,
    XTextarea
  },
  props: ["index"]
};
</script>
